Developer Documentation

QuickTime 4 API Documentation

Programming With QuickTime VR

| Previous | Chapter Contents | Chapter Top | Next |

Custom Cursor Atoms

As described in section "Hot Spot Information Atom" , the hot spot information atom allows you to indicate custom cursor IDs for particular hot spots that replace the default cursors used by QuickTime VR. QuickTime VR allows you to store your custom cursors in the VR world of the movie file.

If you're using the Mac OS, you could store your custom cursors in the resource fork of the movie file. However, this would not work on any other platform (such as Windows 95), so storing cursors in the resource fork of the movie file is not recommended.

The cursor parent atom is the parent of all of the custom cursor atoms stored in the VR world. Its atom type is kQTVRCursorParentAtomType ( 'vrcp' ). The child atoms of the cursor parent are either cursor atoms or color cursor atoms. Their atom types are kQTVRCursorAtomType ( 'CURS' ) and kQTVRColorCursorAtomType ( 'crsr' ). These atoms are stored exactly as cursors or color cursors would be stored as a resource. See the Cursor Utilities chapter of Inside Macintosh: Imaging With QuickDraw for details.


© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |